"use client"
import { useState } from 'react'

export default function CounterClient() {
    const [count, setCount] = useState(0);
    return (
        <div>
            <h1>点击以下按钮，增加数值</h1>
            <button onClick={() => setCount(count + 1)}>{count}</button>
        </div>
    )
}
